<li>
    @can('destroy',$blog)
    <form action="{{route('blogs.destroy',$blog->id)}}" method="post" >
        {{method_field('DELETE')}}
        {{csrf_field()}}
        <button type="submit">删除</button>
    </form>
    @endcan
    <a href="{{route('users.show',$blog->user_id)}}" >{{$blog->user->name}}</a>
    <p1>{{$blog->created_at->diffForHumans()}}</p1>
    <p2>{{$blog->content}}</p2>
</li>